#include <map>

using namespace std;

struct Tablero_ref{
  static map<int,int> create_t(){
    map<int,int> m;
    m[0] = 0;
    m[1] = 1;
    m[2] = 2;
    m[3] = 3;
    m[4] = 2;
    m[5] = 1;
    m[6] = 0;
    m[10] = 1;
    m[11] = 2;
    m[12] = 3;
    m[13] = 4;
    m[14] = 3;
    m[15] = 2;
    m[16] = 1;
    m[20] = 2;
    m[21] = 3;
    m[22] = 4;
    m[23] = 5;
    m[24] = 4;
    m[25] = 3;
    m[26] = 2;
    m[30] = 2;
    m[31] = 3;
    m[32] = 4;
    m[33] = 5;
    m[34] = 4;
    m[35] = 3;
    m[36] = 2;
    m[40] = 1;
    m[41] = 2;
    m[42] = 3;
    m[43] = 4;
    m[44] = 3;
    m[45] = 2;
    m[46] = 1;
    m[50] = 0;
    m[51] = 1;
    m[52] = 2;
    m[53] = 3;
    m[54] = 2;
    m[55] = 1;
    m[56] = 0;

    return m;
  }
  static const map<int,int> T_ref;

};

/* const map<int,int> A:: myMap =  A::create_map(); */
/*  private: */
/*   static map<pair<int,int>, int> crear_tablero(){ */
/*     map<pair<int,int>, int> m; */

/*     return m; */
/*   } */
/*   static map<int,int> tablero_ref =  crear_tablero(); */
